#include <GL/glut.h>
#include <ui/glframe.h>
#include <fstream>
#include <iostream>
#include <string>
#include "config.h"
#include "matrix.h"
#include "matrix_util.h"
#include "primitive.h"
#include "intersect_2d.h"
#include "intersect_3d.h"
#include "hierarchy_mesh.h"

#include "rigid.h"

int main(int argc, char * argv[])
{
	try 
	{
		math::ui::GLApp <math::pbm::RigidFrame> app; 
		app.init ();
		app.run(); 
	}
	catch (const char * msg )
	{
		std::cerr << msg <<std::endl;
	}
	return 0; 
}
